package com.stu.student_back_end.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.stu.student_back_end.entity.TblStudent;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * 学生mapper层
 */
@Mapper
public interface TblStudentMapper extends BaseMapper<TblStudent> {

    //查询学生数
    @Select("select count(*) from tbl_student")
    int queryStudentCount();
}
